package com.huadao.cart_ccs.main;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.huadao.cart_ccs.modle.DeviceModle;

public class ShutDownBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals(Intent.ACTION_SHUTDOWN)) {
            DeviceModle deviceModle=new DeviceModle();
            deviceModle.shutDown();
        }
    }
}
